building 6.5.6 / 24.04 on my machine#36
Conversation
| # Install Qt5 build dependencies - version specific | ||
| RUN if [ "${UBUNTU_VERSION}" = "24.04" ]; then \ | ||
| # Ubuntu 24.04: qt5-default doesn't exist, use qtbase5-dev instead | ||
| apt-get -yqq install qtbase5-dev qtbase5-dev-tools || apt-get -yqq install \ |
There was a problem hiding this comment.
Do not install qt5. build-dep is just a convenient way to get many dependencies since those are common between major versions. Maybe there is something like that better for qt6 on newer ubuntu.
| -D FEATURE_openssl_runtime=ON | ||
| -D FEATURE_openssl=ON |
There was a problem hiding this comment.
Why change this? I do not want to include OpenSSL and prefer to load it at runtime.
| QT_VERSION=6.5.6 | ||
| push: true | ||
| tags: mltframework/qt:6.4.3-ubuntu18.04 | ||
| tags: mltframework/qt:6.5.6-ubuntu20.04 |
There was a problem hiding this comment.
Why did you change this version? Did you build this and verify that builds using the version of g++ in Ubuntu 20.04. The reason this says ubuntu:18.04 is because GitHub Actions times out building this, and I need to build it locally and push the image. So, this workflow is not really used anymore.
There was a problem hiding this comment.
- QT 6.4.3 is not available and breaks the build
- ubuntu 20.04 seemed to be the currently employed version for your other builds
There was a problem hiding this comment.
mltframework/qt:6.4.3-ubuntu18.04 is not available, but mltframework/qt:6.4.3-ubuntu20.04 IS. The shotcut-build image for x86-64 MUST remain the way it is currently--on mltframework/qt:6.4.3-ubuntu20.04. Remove all changes to this file because it not used currently, and you must build the qt image yourself.
| apt-get -yqq install clang-18 libclang-18-dev || apt-get -yqq install clang libclang-dev; \ | ||
| else \ | ||
| # Ubuntu 20.04/22.04: prefer clang-10 | ||
| apt-get -yqq install clang-10 libclang-10-dev || apt-get -yqq install clang libclang-dev; \ |
There was a problem hiding this comment.
Using clang supports installing a newer version of C++ that is in newer Qt?
| docker build --rm -t mltframework/qt:6.4.3-ubuntu20.04 docker/qt6-build | ||
| docker run -it --rm -v $PWD:/mnt mltframework/qt:6.4.3-ubuntu20.04 | ||
| s3cmd --acl-public put qt-6.4.3-ubuntu20.04-x86_64.txz s3://misc.meltymedia/shotcut-build/ | ||
| docker build --rm -t mltframework/qt:6.5.6-ubuntu20.04 docker/qt6-build |
There was a problem hiding this comment.
This must remain mltframework/qt:6.4.3-ubuntu20.04
| ## Build Shotcut for Linux | ||
|
|
||
| docker build --rm -t mltframework/shotcut-build:qt6.4.3-ubuntu20.04 docker/shotcut-build | ||
| docker build --rm -t mltframework/shotcut-build:qt6.5.6-ubuntu20.04 docker/shotcut-build |
There was a problem hiding this comment.
This must remain qt6.4.3-ubuntu20.04
No description provided.